package com.alinesno.cloud.base.boot.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

import com.alinesno.cloud.common.facade.orm.entity.BaseEntity;

import cn.afterturn.easypoi.excel.annotation.Excel;


/**
 * <p>
 * 
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2018-12-16 17:53:19
 */
@Proxy(lazy = false)
@Entity
@Table(name="manager_role")
public class ManagerRoleEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 角色名称
     */
	@Excel(name = "角色名称")
	@Column(name="role_name")
	private String roleName ;

	/** 
	 * 角色描述
	 */
	@Excel(name = "角色描述")
	@Column(name="role_desc")
	private String roleDesc ; 
	
    /**
     * 角色状态(1正常/0非法)
     */
	@Excel(name = "角色状态" , replace = { "正常_1", "停止_0" })
	@Column(name="role_status")
	private Integer roleStatus;

	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getRoleStatus() {
		return roleStatus;
	}

	public void setRoleStatus(Integer roleStatus) {
		this.roleStatus = roleStatus;
	}

	@Override
	public String toString() {
		return "ManagerRoleEntity{" +
			"roleName =" + roleName +
			", roleStatus=" + roleStatus +
			"}";
	}
}
